﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MainLayout.Master" AutoEventWireup="true" CodeBehind="ProductDetail.aspx.cs" Inherits="DigitalAnts.ProductPage" %>

<%@ Register src="webUserControl/SideBarRight.ascx" tagname="SideBar" tagprefix="uc1" %>

<%@ Register src="webUserControl/SideBarRight.ascx" tagname="SideBar" tagprefix="uc3" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<div class="content-bg">
		<div class="page">
			<div class="main-container col2-right-layout">
				<div class="breadcrumbs">
    <ul>
                    <li class="home">
                            <a href="http://livedemo00.template-help.com/magento_36860/" title="Go to Home Page">Home</a>

                                        <span>&nbsp;&gt; </span>
                        </li>
                    <li class="category7">
                            <a href="http://livedemo00.template-help.com/magento_36860/snow.html" title="">Snow</a>
                                        <span>&nbsp;&gt; </span>
                        </li>
                    <li class="product">

                            <strong>Cycra Probend Classic Enduro Shields</strong>
                                    </li>
            </ul>
</div>
				<div class="main">
					 <div class="col-main">
												
    <div class="border1">
<div id="messages_product_view"></div>

<div class="product-view">
    <div class="product-essential">

        <div class="product-shop">
            <div class="product-name">
            <% System.Data.DataRow dr = this.doGetProductByID();
                %>
                <h2><%=dr["colTitle"].ToString() %></h2>
            </div>
<div class="container">
    <div class="price-box">

                                                            <span class="regular-price" id="product-price-19">
                    <span class="price"><%=String.Format("{0:0,0 vnđ}", Convert.ToDouble(dr["colPrice"])) %></span>                </span>
                        
        </div>

    <p class="availability in-stock">Trạng thái: <span>Chưa bán</span></p>
</div>      <p class="where">
        <strong>Nơi bán: <%=dr["CityName"].ToString() %> - <%=dr["Country"].ToString() %></strong>
    </p>      
            <ul class="add-to-links">
    
                            <div class="add-to-box">
                                                <div class="add-to-cart">

                <label for="qty">Lượt xem:</label>
        <input type="text" value="<%=dr["colVisit"].ToString()%>" class="input-text qty" readonly="readonly"/>
                <asp:LinkButton ID="lbtCart" runat="server" Text="Thêm vào giỏ hàng" CssClass="cart" onclick="lbtCart_Click"></asp:LinkButton>    
                 </div>
            
                                                                

<ul class="add-to-links">
    <li>Người đăng: <a rel="leanModal" href="#hidden" class="link-wishlist"><%=dr["colUserName"].ToString()%> </a></li>

    <li><span class="separator">|</span> <asp:LinkButton ID="lbtLike" 
            runat="server" Text="Thích sản phẩm này" CssClass="link-compare" 
            onclick="lbtLike_Click"></asp:LinkButton></li>
</ul>
                </div>
                            
                            <div class="short-description">
                    <h2 align="left">Thông tin chi tiết</h2>
                    <div class="std">
                    <table class="table-product-detail">
                    <% String isNew = "Cũ";
                       String anti = "Không";
                       if (dr["IsNew"].ToString() == "1")
                       {
                           isNew = "Mới";
                       }
                       if (dr["colAntiThiefDevice"].ToString() == "1")
                       {
                           anti = "Có";
                       }
                         %>
                        <tr>
                            <td>Tình trạng:</td> <td><%=isNew%></td>
                        </tr>
                        <tr>
                            <td>Hãng:</td> <td><%=dr["colProducer"].ToString()%></td>
                        </tr>
                        <tr>
                            <td>Dòng xe:</td> <td><%=dr["colProduct"].ToString()%></td>
                        </tr>
                        <tr>
                            <td>Màu:</td> <td><%=dr["colColor"].ToString()%></td>
                        </tr>
                        <tr>
                            <td>Năm sản xuất:</td> <td><%=dr["colProductionYear"].ToString()%></td>
                        </tr>
                        <tr>
                            <td>Cây số đã đi:</td> <td><%=dr["colKilometersTraveled"].ToString()%> (km)</td>
                        </tr>
                        <tr>
                            <td>Phân khối:</td> <td><%=dr["colCc"].ToString()%> (Cc)</td>
                        </tr>
                        <tr>
                            <td>Khóa từ:</td> <td><%=anti%></td>
                        </tr>
                        <tr>
                            <td>Ngày đăng:</td> <td><%=String.Format("{0:dd/MM/yyyy}", Convert.ToDateTime(dr["colInsertDate"]))%></td>
                        </tr>
                        <tr>
                            <td>Ngày hết hạn:</td> <td><%=String.Format("{0:dd/MM/yyyy}", Convert.ToDateTime(dr["colEndDate"]))%></td>
                        </tr>
                        <tr>
                            <td colspan="2" class="td"><a rel="leanModal" href="#hidden">Liên hệ mua sản phẩm này</a></td>
                        </tr>
                    </table>
                    </div>

                </div>
            
        </div>

        <div class="product-img-box">
            <p class="product-image product-image-zoom">
    <img id="image" src="../resource/product_pic/<%=dr["colAvatar"].ToString()%>" alt="<%=dr["colTitle"].ToString()%>" title="<%=dr["colTitle"].ToString()%>" class="product-avatar"/></p>
<div class="more-views">
    <h2>Hình ảnh khác</h2>
    <ul>
            <li>

            <a href="#" title=""><img src="http://livedemo00.template-help.com/magento_36860/media/catalog/product/cache/3/thumbnail/66x/9df78eab33525d08d6e5fb8d27136e95/c/y/cycra_probend_classic_enduro_shields_3.png" width="66" height="66" alt="" /></a>
        </li>
            <li>
            <a href="#" title=""><img src="http://livedemo00.template-help.com/magento_36860/media/catalog/product/cache/3/thumbnail/66x/9df78eab33525d08d6e5fb8d27136e95/c/y/cycra_probend_classic_enduro_shields_1.png" width="66" height="66" alt="" /></a>
        </li>
            <li>
            <a href="#" title=""><img src="http://livedemo00.template-help.com/magento_36860/media/catalog/product/cache/3/thumbnail/66x/9df78eab33525d08d6e5fb8d27136e95/c/y/cycra_probend_classic_enduro_shields_2.png" width="66" height="66" alt="" /></a>
        </li>
        </ul>
        <ul>
            <li>

            <a href="#" title=""><img src="http://livedemo00.template-help.com/magento_36860/media/catalog/product/cache/3/thumbnail/66x/9df78eab33525d08d6e5fb8d27136e95/c/y/cycra_probend_classic_enduro_shields_3.png" width="66" height="66" alt="" /></a>
        </li>
            <li>
            <a href="#" title=""><img src="http://livedemo00.template-help.com/magento_36860/media/catalog/product/cache/3/thumbnail/66x/9df78eab33525d08d6e5fb8d27136e95/c/y/cycra_probend_classic_enduro_shields_1.png" width="66" height="66" alt="" /></a>
        </li>
            <li>
            <a href="#" title=""><img src="http://livedemo00.template-help.com/magento_36860/media/catalog/product/cache/3/thumbnail/66x/9df78eab33525d08d6e5fb8d27136e95/c/y/cycra_probend_classic_enduro_shields_2.png" width="66" height="66" alt="" /></a>
        </li>
        </ul>

</div>
        </div>

        <div class="clearer"></div>
   
    </div>

    <div class="product-collateral">
        <div class="box-collateral box-description">

                            <h2>Giới thiệu của người bán</h2>
    <div class="std">
        <%=dr["colDescription"].ToString()%></div>

        </div>
        <div class="box-collateral box-up-sell">
    <h2>Có thể bạn sẽ thích những sản phẩm này</h2>
    <table class="products-grid" id="upsell-product-table">
                    <tr>
                                <td>
                <a href="http://livedemo00.template-help.com/magento_36860/cycra-series-one-handguards.html" title="Cycra Series One Handguards" class="product-image"><img src="http://livedemo00.template-help.com/magento_36860/media/catalog/product/cache/3/small_image/180x/9df78eab33525d08d6e5fb8d27136e95/c/y/cycra_series_one_handguards_3.png" width="180" height="180" alt="Cycra Series One Handguards" /></a>
                <h3 class="product-name"><a href="http://livedemo00.template-help.com/magento_36860/cycra-series-one-handguards.html" title="Cycra Series One Handguards">Cycra Series One Handguards</a></h3>

                

        
    <div class="price-box">
                                                            <span class="regular-price" id="product-price-20-upsell">
                    <span class="price">$25.95</span>                </span>
                        
        </div>

                            </td>
                                            <td>
                <a href="http://livedemo00.template-help.com/magento_36860/thor-force-knee-guard.html" title="Thor Force Knee Guard" class="product-image"><img src="http://livedemo00.template-help.com/magento_36860/media/catalog/product/cache/3/small_image/180x/9df78eab33525d08d6e5fb8d27136e95/t/h/thor_force_knee_guard_1.png" width="180" height="180" alt="Thor Force Knee Guard" /></a>

                <h3 class="product-name"><a href="http://livedemo00.template-help.com/magento_36860/thor-force-knee-guard.html" title="Thor Force Knee Guard">Thor Force Knee Guard</a></h3>
                

        
    <div class="price-box">
                                                            <span class="regular-price" id="product-price-22-upsell">
                    <span class="price">$45.97</span>                </span>
                        
        </div>

                            </td>
                                            <td>

                <a href="http://livedemo00.template-help.com/magento_36860/thor-mx-enemy-goggles.html" title="Thor Mx Enemy Goggles" class="product-image"><img src="http://livedemo00.template-help.com/magento_36860/media/catalog/product/cache/3/small_image/180x/9df78eab33525d08d6e5fb8d27136e95/t/h/thor_mx_enemy_goggles_2.png" width="180" height="180" alt="Thor Mx Enemy Goggles" /></a>
                <h3 class="product-name"><a href="http://livedemo00.template-help.com/magento_36860/thor-mx-enemy-goggles.html" title="Thor Mx Enemy Goggles">Thor Mx Enemy Goggles</a></h3>
                

        
    <div class="price-box">
                                                            <span class="regular-price" id="product-price-24-upsell">
                    <span class="price">$31.28</span>                </span>
                        
        </div>

                            </td>

                            </tr>
        </table>
</div>
            
    </div>
</div>
</div>

</div>

<div id="hidden">

    <div class="page-title">
        <h1>Thông tin liên hệ của <strong><%=dr["colUserName"].ToString()%></strong></h1>
        <img class="closeoverlay" src="../skin/frontend/default/theme253/images/close-icon.png"/>
    </div>
    <div class="welcome-msg">
    <p>Nếu có nhu cầu mua sản phẩm, vui lòng liên hệ trực tiếp với người bán, bạn có thể trực tiếp thương lượng giá và cách thức mua bán sản phẩm.</p>
</div>
        <table>
            <tr>
                <td rowspan="4"><img src="<%=dr["colAvatar"].ToString()%>" class="useravatar"></img></td>
                <td>Tên đầy đủ:</td>
                <td><%=dr["colFirstName"].ToString() + " " + dr["colLastName"].ToString()%></td>
            </tr>
            <tr>
                <td>Email:</td>
                <td><%=dr["colEmail"].ToString()%></td>
            </tr>
            <tr>
                <td>Số điện thoại:</td>
                <td><%= "0" + dr["colCellPhone"].ToString()%></td>
            </tr>
            <tr>
                <td>Nơi bán:</td>
                <td><%=dr["CityName"].ToString() + " - " + dr["Country"].ToString()%></td>
            </tr>
        </table>

        	
</div>

					<uc3:SideBar ID="SideBar1" runat="server" />
				   
				</div>
			</div>
					</div>
	</div>
	
</asp:Content>
